package com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.editor.detail.command;

import com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.editor.Detail;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.core.Ext;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public final class SaveListener extends ButtonListenerAdapter {

	@Override
	public void onClick(Button button, EventObject e) {
		((Detail) Ext.getCmp(Detail.class.getName())).save();
    }
}
